package cn.com.cifi.mars.constant;

/**
* @Description:  房源信息枚举
* @Author: wy
* @Date:
*/

public enum MymStatusEnum {

	SIGNING("1","签约"),
	MARKETING_CONTROL("2","销控"),
	FOR_SALE("3","待售"),
	SUBSCRIPTION("4","认购"),
	RESERVE("5","预留")
    ;

    private String key;
    private String value;

    MymStatusEnum(String key,String value) {
        this.key = key;
        this.value = value;
    }


    public static String getValueByKey(String key){
        for(MymStatusEnum fetchNnumberEnum:MymStatusEnum.values()){
            if(key.equals(fetchNnumberEnum.getValue())){
                return fetchNnumberEnum.getKey();
            }
        }
        return  null;
    }

    /**
     * @return the key
     */
    public String getKey() {
        return key;
    }

    /**
     * @return the value
     */
    public String getValue() {
        return value;
    }

}
